package com.openlab.callsystem.service;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.service.IService;
import com.openlab.callsystem.entity.Caller;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-11-14
 */
public interface CallerService extends IService<Caller> {
    public Caller login(String username,String password,Integer windowsId);
    public List<Caller> queryAllCallers();
    public boolean registerCaller(String account, String name, String password, String email);
    public void insertCaller(int id, String account, String name, String password, String salt, LocalDateTime date);
    public void deleteCaller(Integer id);
    public void updateCaller(int id, String account, String name, String password, String salt, LocalDateTime date);
    public void repeatCall(Integer number,Integer windowsId);
}
